function iFrameHeight() { 
			var ifm= document.getElementById("myframe"); 
			var subWeb = document.frames ? document.frames["myframe"].document : ifm.contentDocument; 
			if(ifm != null && subWeb != null) { 
			ifm.height = subWeb.body.scrollHeight; 
			} 
			} 
			layui.use('element', function() {
				var $ = layui.jquery,
					element = layui.element; //Tab的切换功能，切换事件监听等，需要依赖element模块
			});
			function changeSrc()
			{
				/* doucument.getElementById('IndexRight').innerHTML="Query.jsp"; */
			 	document.getElementById("myframe").src="/StuScoManSys/S"; 
			}
			function addStudent()
			{
				document.getElementById("myframe").src="/StuScoManSys/AddStudentIniCla"; 
			}
			function addTeacher()
			{
				document.getElementById("myframe").src="/StuScoManSys/addTeacher.jsp"; 
			}
			function addCourse()
			{
				document.getElementById("myframe").src="/StuScoManSys/addCourse.jsp"; 
			}
			function addClass()
			{
				document.getElementById("myframe").src="/StuScoManSys/addClass.jsp"; 
			}
			function queryClas()
			{
				document.getElementById("myframe").src="/StuScoManSys/ClassCourse"; 
			}
			function queryAllTeacher()
			{
				document.getElementById("myframe").src="/StuScoManSys/OverviewOfTeaching"; 
			}
			function queryAllClass()
			{
				document.getElementById("myframe").src="/StuScoManSys/ClassCourse"; 
			}
			function queryAllStudent()
			{
				document.getElementById("myframe").src="/StuScoManSys/StudentClass"; 
			}
			function queryStudentScores()
			{
				document.getElementById("myframe").src="/StuScoManSys/S"; 
			}
			function queryCourseTable()
			{
				document.getElementById("myframe").src="/StuScoManSys/StuClassTable"; 
			}
			function queryTeacherScores()
			{
				document.getElementById("myframe").src="/StuScoManSys/T"; 
			}
			function queryTeacherTable()
			{
				document.getElementById("myframe").src="/StuScoManSys/TeaClassTable"; 
			}